﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace ICeFramework.Common.DataLayer.Exceptions
{
    public class DataAccessException : ApplicationException
    {
        #region public DataAccessException()
        /// <summary>
        /// Initializes a new instance of the <b>DataAccessException</b> class.
        /// </summary>
        public DataAccessException()
            : base()
        {

        }
        #endregion

        #region public DataAccessException(string message)
        /// <summary>
        /// Initializes a new instance of the <b>DataAccessException</b> class.
        /// </summary>
        /// <param name="message"></param>
        public DataAccessException(string message)
            : base(message)
        {

        }
        #endregion

        #region public DataAccessException(string message, Exception innerException)
        /// <summary>
        /// Initializes a new instance of the <b>DataAccessException</b> class.
        /// </summary>
        /// <param name="message"></param>
        /// <param name="innerException"></param>
        public DataAccessException(string message, Exception innerException)
            : base(message, innerException)
        {

        }
        #endregion

        #region public DataAccessException(SerializationInfo info, StreamingContext context)
        /// <summary>
        /// Initializes a new instance of the <b>DataAccessException</b> class.
        /// </summary>
        /// <param name="info"></param>
        /// <param name="context"></param>
        public DataAccessException(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {

        }
        #endregion
    }
}
